package com.atguigu.mySmartCampus.Service;

import com.atguigu.mySmartCampus.entity.LoginForm;
import com.atguigu.mySmartCampus.entity.Teacher;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface TeacherService extends IService<Teacher> {

    //+
    Teacher login( LoginForm loginForm);
    Teacher getTeacherById(Long teacherId);
    IPage<Teacher> getTeacherByOperator(Page<Teacher> page, Teacher teacher);
}
